package byName;

public class Crocodile extends Animal{
	Crocodile(String name){
		swimBehavior = new SwimGood();
		eatBehavior  = new EatOmnivorous();
		moveBehavior = new MoveRun();
		this.name = name;
	}
	public void display(){
		System.out.println("I Crocodile and my name " + name);
	}
}
